package com.wy.domain;

public class Music {

	public int id;
	public String title;
	public String path;
	public String artist;
	public String albums;
	public long size;
	public long duration;  // 媒体播放时间

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getArtist() {
		return artist;
	}

	public void setArtist(String artist) {
		this.artist = artist;
	}

	public String getAlbums() {
		return albums;
	}

	public void setAlbums(String albums) {
		this.albums = albums;
	}

	public long getSize() {
		return size;
	}

	public void setSize(long size) {
		this.size = size;
	}

	public long getDuration() {
		return duration;
	}

	public void setDuration(long duration) {
		this.duration = duration;
	}

	@Override
	public String toString() {
		return "Music{" +
				"id=" + id +
				", title='" + title + '\'' +
				", path='" + path + '\'' +
				", artist='" + artist + '\'' +
				", albums='" + albums + '\'' +
				", size=" + size +
				", duration=" + duration +
				'}';
	}
}
